<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

    <!--<title>房产评估</title>-->
    <style type="text/css">

    </style>
    <link rel="stylesheet" href="../css/app.css"/>
</head>

<body>
<div class="mod_tad">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tbody>
        <tr>
            <td width="26%" align="right"><p id="select_title">评估值</p><br>
               </td>
            <td width="3%">&nbsp;</td>
            <td width="71%"><p><input name="" type="tel" class="inputext" id="srzrXS" onKeyUp="context();">元</p><br>
                <p id="srzrDS"></p></td>
        </tr>
        <tr>
            <td align="right"><p>标准收费</p><br>
               </td>
            <td>&nbsp;</td>
            <td><p id="bzsfSX">￥0.00</p><br>
                <p id="bzsfDX"></p></td>
        </tr>
        <tr>
            <td align="right"><p>浮动系数</p></td>
            <td>&nbsp;</td>
            <td><p><input name="" type="tel" value="100" class="inputext" id="fdxs" onKeyUp="context();">%</p></td>
        </tr>
        <tr>
            <td align="right" onclick="alert(share_computation_web())"><p>收费金额</p><br>
               </td>
            <td>&nbsp;</td>
            <td><p id="sfjrXS">￥0.00</p><br>
                <p id="sfjrDS"></p></td>
        </tr>
        </tbody>
    </table>
</div>
<br>

<div class="copy_div" id="copy_div">
    <div class="cp_btn" onclick="copyProcessFun('关于房地产价格评估收费有关问题的通知  京发改 [2013]1522号）');">复制过程</div>
</div>

<div id="process" class="process_div"></div>

<div class="policy_div">
    <h1>
        关于房地产价格评估收费有关问题的通知 京发改〔<span>2013</span>〕<span>1522</span>号
    </h1>
    <p>
        <span style=";font-family:宋体">北京市发展和改革委员会</span>
    </p>
    <p>
        <span style=";font-family:宋体">北京市住房和城乡建设委员会</span>
    </p>
    <p>
        <span style=";font-family:宋体">关于房地产价格评估收费有关问题的通知</span>
    </p>
    <p>
        <span style=";font-family:宋体">京发改〔<span>2013</span>〕<span>1522</span>号</span>
    </p>
    <p>
        <span style=";font-family:宋体">各区县发展改革委、住房城乡（市）建设委（房管局）、房屋征收办公室，北京房地产估价师和土地估价师协会，各有关单位：</span>
    </p>
    <p>
        <span style=";font-family:宋体">为进一步规范本市房地产价格评估收费行为，促进房地产价格评估市场健康发展，根据国家有关文件精神，并结合本市实际，现就本市房地产价格评估收费有关问题通知如下：</span>
    </p>
    <p>
        <span style=";font-family:宋体">一、凡在本市依法从事房地产价格评估活动并向委托人收取费用的中介机构，应当遵守本通知相关规定。</span>
    </p>
    <p>
        <span style=";font-family:宋体">二、以房产为主的各类房地产价格评估收费实行政府指导价管理，评估费按照房地产的价格总额采取差额定率分档累进计收。具体收费标准见附件。</span>
    </p>
    <p>
        <span style=";font-family:宋体">三、委托北京房地产估价师和土地估价师协会组建的评估专家委员会对房地产价格评估结果进行技术鉴定的，鉴定费收费标准按照不高于政府规定房地产价格评估收费标准的<span>50%</span>收取。</span>
    </p>
    <p>
        <span style=";font-family:宋体">四、房地产价格评估机构应当本着合理、公开、诚实信用的原则，接受自愿委托，并按照不高于本通知规定的收费标准，与委托方通过合同约定具体的收费标准。</span>
    </p>
    <p>
        <span style=";font-family:宋体">五、各有关评估机构应严格执行明码标价规定，在经营场所的醒目位置标明相关的服务项目、服务内容、收费标准等事项。对擅自提高收费标准等价格违法行为，各级价格执法机构将依法予以查处。</span>
    </p>
    <p>
        <span style=";font-family:宋体">六、本通知自<span>2013</span>年<span>9</span>月<span>1</span>日起执行，之前双方已达成正式服务合同的，沿用原有规定。现行有关规定与本通知不符的，按本通知规定执行。</span>
    </p>
    <p>
        <span style=";font-family:宋体">特此通知。</span>
    </p>
    <p>
        <span style=";font-family:宋体">附件：北京市房地产价格评估收费标准（差额定率分档累进）</span>
    </p>
    <p>
        <span style=";font-family:宋体">北京市发展和改革委员会<span>&nbsp;&nbsp;&nbsp;&nbsp; </span></span>
    </p>
    <p>
        <span style=";font-family:宋体">北京市住房和城乡建设委员会</span>
    </p>
    <p>
        <span style=";font-family:宋体">2013</span><span style=";font-family: 宋体">年<span>6</span>月<span>9</span>日</span>
    </p>
    <p>
        <span style=";font-family:宋体">&nbsp;</span>
    </p>
    <p>
        <span style=";font-family:宋体">附件</span>
    </p>
    <p>
        <span style=";font-family:宋体">北京市房地产价格评估收费标准</span>
    </p>
    <p>
        <span style=";font-family:宋体">（差额定率分档累进）</span>
    </p>
    <p>
        <span style=";font-family:宋体">&nbsp;</span>
    </p>
    <table class="tableC">
        <tbody>
        <tr>
            <td width="83">
                <p style=";margin-right:9px;margin-left:0;margin-bottom:0;text-align:center;text-indent:0;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">档次</span>
                </p>
            </td>
            <td width="231">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">房地产价格总额（万元）</span>
                </p>
            </td>
            <td width="122">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">累进计费率<span>‰</span></span>
                </p>
            </td>
        </tr>
        <tr>
            <td width="83">
                <p style=";margin-right:9px;margin-left:0;margin-bottom:0;text-align:center;text-indent:0;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">1</span>
                </p>
            </td>
            <td width="231">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">100</span><span
                        style="font-size: 16px;line-height: 150%;font-family: 宋体">以下（含<span>100</span>）</span>
                </p>
            </td>
            <td width="122">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size:16px;line-height:150%;font-family:宋体">4</span>
                </p>
            </td>
        </tr>
        <tr>
            <td width="83">
                <p style=";margin-right:9px;margin-left:0;margin-bottom:0;text-align:center;text-indent:0;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">2</span>
                </p>
            </td>
            <td width="231">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">100</span><span
                        style="font-size: 16px;line-height: 150%;font-family: 宋体">以上至<span>1000(</span>含<span>1000)</span></span>
                </p>
            </td>
            <td width="122">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size:16px;line-height:150%;font-family:宋体">2</span>
                </p>
            </td>
        </tr>
        <tr>
            <td width="83">
                <p style=";margin-right:9px;margin-left:0;margin-bottom:0;text-align:center;text-indent:0;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">3</span>
                </p>
            </td>
            <td width="231">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">1000</span><span
                        style="font-size: 16px;line-height: 150%;font-family: 宋体">以上至<span>2000(</span>含<span>2000)</span></span>
                </p>
            </td>
            <td width="122">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size:16px;line-height:150%;font-family:宋体">1.2</span>
                </p>
            </td>
        </tr>
        <tr>
            <td width="83">
                <p style=";margin-right:9px;margin-left:0;margin-bottom:0;text-align:center;text-indent:0;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">4</span>
                </p>
            </td>
            <td width="231">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">2000</span><span
                        style="font-size: 16px;line-height: 150%;font-family: 宋体">以上至<span>5000(</span>含<span>5000)</span></span>
                </p>
            </td>
            <td width="122">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size:16px;line-height:150%;font-family:宋体">0.6</span>
                </p>
            </td>
        </tr>
        <tr>
            <td width="83">
                <p style=";margin-right:9px;margin-left:0;margin-bottom:0;text-align:center;text-indent:0;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">5</span>
                </p>
            </td>
            <td width="231">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">5000</span><span
                        style="font-size: 16px;line-height: 150%;font-family: 宋体">以上至<span>8000(</span>含<span>8000)</span></span>
                </p>
            </td>
            <td width="122">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size:16px;line-height:150%;font-family:宋体">0.3</span>
                </p>
            </td>
        </tr>
        <tr>
            <td width="83">
                <p style=";margin-right:9px;margin-left:0;margin-bottom:0;text-align:center;text-indent:0;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">6</span>
                </p>
            </td>
            <td width="231">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">8000</span><span
                        style="font-size: 16px;line-height: 150%;font-family: 宋体">以上至<span>10000(</span>含<span>10000)</span></span>
                </p>
            </td>
            <td width="122">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size:16px;line-height:150%;font-family:宋体">0.2</span>
                </p>
            </td>
        </tr>
        <tr>
            <td width="83">
                <p style=";margin-right:9px;margin-left:0;margin-bottom:0;text-align:center;text-indent:0;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">7</span>
                </p>
            </td>
            <td width="231">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">10000</span><span
                        style="font-size: 16px;line-height: 150%;font-family: 宋体">以上</span>
                </p>
            </td>
            <td width="122">
                <p style="margin-left:0;text-align:center;text-indent:28px;line-height:150%">
                    <span style="font-size: 16px;line-height: 150%;font-family: 宋体">0.1</span>
                </p>
            </td>
        </tr>
        </tbody>
    </table>
    <p>
        <span style=";font-family:宋体">&nbsp;</span>
    </p>
    <p>
        <span style="font-size:14px;font-family:宋体">注：本标准执行中可下浮，不得上浮。</span>
    </p>
    <p>
        <br/>
    </p>
</div>

<div class="collect_div">
    <img id="collect_img" onclick="addCollectFun()" src="../img/un_collect.png">
    <div id="collect_txt" class="collect_txt">收藏</div>
</div>

<script src="../js/jquery-1.12.4.min.js"></script>
<script src="../js/common.js"></script>


<script>
    //-----------------公共变量-----------------
    var FWXM = "";
    var PGNR = "";
    var PGNR_JE = "";
    var PGNR_JEDX = "";
    var formula = "";
    var BZSF = "";
    var BZSFDS = "";

    var FDXS = "";

    var SFJE = "";
    var SFJEDS = "";

    function share_computation() {
        var r0 = ""
        var r1 = "服务项目:房产评估";
        var r2 = "评估值:" + PGNR_JE + "(" + PGNR_JEDX + ")";
        //var r6="计算公式:"+JSGS;
        var r3 = "标准收费=(" + formula + ")*10000=" + BZSF + "(" + BZSFDS + ")";
        var r4 = "浮动系数:" + FDXS + "%";
        //var r5="收费金额:"+SFJE+"("+SFJEDS+")";
        var r5 = "收费金额=标准收费*浮动系数=" + BZSF + "*" + getV("fdxs") + "%=" + SFJE + "(" + SFJEDS + ")";

        return r0 + "<br/><br/>" + r1 + "<br/><br/>" + r2 + "<br/><br/>" + r3 + "<br/><br/>" + r4 + "<br/><br/>" + r5;
    }

    function share_computation_web() {
        var str = share_computation();
        var e = new RegExp("<br/>", "g");
        var words = str.replace(e, "\n");
        var cc = new RegExp("%25", "g");
        words = words.replace(cc, "%");
        return words;
    }

    function getV(did) {
        return document.getElementById(did).value;
    }

    function getH(did) {
        return document.getElementById(did).innerHTML;
    }

    //-----------------公共变量-end-------------
    //键盘事件计算
    function context() {

        var srzrXS = document.getElementById("srzrXS").value;
        if (srzrXS.length == 0) {
            return false;
        }

        var srzrDS = convertCurrency(srzrXS);
        if ("404" != srzrDS) {
            document.getElementById("srzrDS").innerHTML = srzrDS;
        }
        PGNR_JE = srzrXS;
        PGNR_JEDX = srzrDS;

        //----------计算1------------
        var A = parseFloat(srzrXS);
        var value = getCount(A);

        var str = parseFloat(value).toFixed(2);
        var strDS = convertCurrency(str);
        document.getElementById("bzsfSX").innerHTML = "￥" + str;//标准收费小写
        document.getElementById("bzsfDX").innerHTML = strDS;//标准收费大写

        BZSF = str;
        BZSFDS = strDS;

        //浮动比例
        var fdxs = document.getElementById("fdxs").value;
        FDXS = fdxs;
        if (fdxs.length == 0) {
            return false;
        }
        var fdxs = parseFloat(fdxs) / 100;

        var moneyff = str * fdxs;//收费金额
        moneyff = parseFloat(moneyff).toFixed(2);
        var moneyffDS = convertCurrency(moneyff);
        document.getElementById("sfjrXS").innerHTML = "￥" + moneyff;//收费金额小写
        document.getElementById("sfjrDS").innerHTML = moneyffDS;//收费金额大写
        SFJE = moneyff;
        SFJEDS = moneyffDS;
        //-----------计算1--------------------

        //显示计算过程
        showProcess();
        document.getElementById("process").innerHTML = "<h3>小程序：计费宝</h3>" + share_computation();

    }


    //解散、破产企业清算审计、变更验资
    function getCount(A) {
        var count = 0.00;
        A = A / 10000;

        if (A <= 100) {
            count = A * 0.004;
            formula = "" + A + "*0.004";
        } else if (A <= 1000) {
            count = 100 * 0.004 + (A - 100) * 0.002;
            formula = "100*0.004+(" + A + "-100)*0.002";
        } else if (A <= 2000) {
            count = 100 * 0.004 + 900 * 0.002 + (A - 1000) * 0.0012;
            formula = "100*0.004+900*0.002+(" + A + "-1000)*0.0012";
        } else if (A <= 5000) {
            count = 100 * 0.004 + 900 * 0.002 + 1000 * 0.0012 + (A - 2000) * 0.0006;
            formula = "100*0.004+900*0.002+1000*0.0012+(" + A + "-2000)*0.0006";
        } else if (A <= 8000) {
            count = 100 * 0.004 + 900 * 0.002 + 1000 * 0.0012 + 3000 * 0.0006 + (A - 5000) * 0.0003;
            formula = "100*0.004+900*0.002+1000*0.0012+3000*0.0006+(" + A + "-5000)*0.0003";
        } else if (A <= 10000) {
            count = 100 * 0.004 + 900 * 0.002 + 1000 * 0.0012 + 3000 * 0.0006 + 3000 * 0.0003 + (A - 8000) * 0.0002;
            formula = "100*0.004+900*0.002+1000*0.0012+3000*0.0006+3000*0.0003+(" + A + "-8000)*0.0002";
        } else if (A > 10000) {
            count = 100 * 0.004 + 900 * 0.002 + 1000 * 0.0012 + 3000 * 0.0006 + 3000 * 0.0003 + 2000 * 0.0002 + (A - 10000) * 0.0001;
            formula = "100*0.004+900*0.002+1000*0.0012+3000*0.0006+3000*0.0003+2000*0.0002+(" + A + "-10000)*0.0001";
        }
        //return count*10000;
        return count * 10000;
    }

    function convertCurrency(currencyDigits) {
// Constants:
        var MAXIMUM_NUMBER = 999999999999999999.99;
// Predefine the radix characters and currency symbols for output:
        var CN_ZERO = "零";
        var CN_ONE = "壹";
        var CN_TWO = "贰";
        var CN_THREE = "叁";
        var CN_FOUR = "肆";
        var CN_FIVE = "伍";
        var CN_SIX = "陆";
        var CN_SEVEN = "柒";
        var CN_EIGHT = "捌";
        var CN_NINE = "玖";
        var CN_TEN = "拾";
        var CN_HUNDRED = "佰";
        var CN_THOUSAND = "仟";
        var CN_TEN_THOUSAND = "万";
        var CN_HUNDRED_MILLION = "亿";
        var CN_SYMBOL = "";
        var CN_DOLLAR = "元";
        var CN_TEN_CENT = "角";
        var CN_CENT = "分";
        var CN_INTEGER = "整";

// Variables:
        var integral; // Represent integral part of digit number.
        var decimal; // Represent decimal part of digit number.
        var outputCharacters; // The output result.
        var parts;
        var digits, radices, bigRadices, decimals;
        var zeroCount;
        var i, p, d;
        var quotient, modulus;

// Validate input string:
        currencyDigits = currencyDigits.toString();
        if (currencyDigits == "") {
            alert("输入项为空");
            return "";
        }
        if (currencyDigits.match(/[^,.\d]/) != null) {
            //alert("Invalid characters in the input string!");
            alert("非法输入");
            return "";
        }
        if ((currencyDigits).match(/^((\d{1,3}(,\d{3})*(.((\d{3},)*\d{1,3}))?)|(\d+(.\d+)?))$/) == null) {
            //alert("Illegal format of digit number!");
            return "404";
        }

//小数点截取,如果小数为0就取整
        if (currencyDigits.indexOf(".00") > 0) {
            currencyDigits = currencyDigits.substr(0, currencyDigits.indexOf('.'));
        }

// Normalize the format of input digits:
        currencyDigits = currencyDigits.replace(/,/g, ""); // Remove comma delimiters.
        currencyDigits = currencyDigits.replace(/^0+/, ""); // Trim zeros at the beginning.
// Assert the number is not greater than the maximum number.
        if (Number(currencyDigits) > MAXIMUM_NUMBER) {
            alert("Too large a number to convert!");
            return "";
        }

// Process the coversion from currency digits to characters:
// Separate integral and decimal parts before processing coversion:
        parts = currencyDigits.split(".");
        if (parts.length > 1) {
            integral = parts[0];
            decimal = parts[1];
            // Cut down redundant decimal digits that are after the second.
            decimal = decimal.substr(0, 2);
        } else {
            integral = parts[0];
            decimal = "";
        }
// Prepare the characters corresponding to the digits:
        digits = new Array(CN_ZERO, CN_ONE, CN_TWO, CN_THREE, CN_FOUR, CN_FIVE, CN_SIX, CN_SEVEN, CN_EIGHT, CN_NINE);
        radices = new Array("", CN_TEN, CN_HUNDRED, CN_THOUSAND);
        bigRadices = new Array("", CN_TEN_THOUSAND, CN_HUNDRED_MILLION);
        decimals = new Array(CN_TEN_CENT, CN_CENT);
// Start processing:
        outputCharacters = "";
// Process integral part if it is larger than 0:
        if (Number(integral) > 0) {
            zeroCount = 0;
            for (i = 0; i < integral.length; i++) {
                p = integral.length - i - 1;
                d = integral.substr(i, 1);
                quotient = p / 4;
                modulus = p % 4;
                if (d == "0") {
                    zeroCount++;
                } else {
                    if (zeroCount > 0) {
                        outputCharacters += digits[0];
                    }
                    zeroCount = 0;
                    outputCharacters += digits[Number(d)] + radices[modulus];
                }
                if (modulus == 0 && zeroCount < 4) {
                    outputCharacters += bigRadices[quotient];
                }
            }
            outputCharacters += CN_DOLLAR;
        }
// Process decimal part if there is:
        if (decimal != "") {
            for (i = 0; i < decimal.length; i++) {
                d = decimal.substr(i, 1);
                if (d != "0") {
                    outputCharacters += digits[Number(d)] + decimals[i];
                }
            }
        }
// Confirm and return the final output string:
        if (outputCharacters == "") {
            outputCharacters = CN_ZERO + CN_DOLLAR;
        }
        if (decimal == "") {
            outputCharacters += CN_INTEGER;
        }
        outputCharacters = CN_SYMBOL + outputCharacters;
        return outputCharacters;
    }
</script>
</body>
</html>
